{foreach name="goods" item="v"}
	<tr>
		<td class="hidden-xs" align="center">
			<label class="pos-rel">
				<input name='n_id[]' id="navid" class="ace"  type='checkbox' value='{$v.id}'>
				<span class="lbl"></span>
			</label>
		</td>
		<td class="hidden-xs center"><input name="{$v.id}" value="{$v.listorder|default=50}" class="list_order news_order" width="100"/></td>
		<td class="hidden-xs" align="center">{$v.id}</td>
		<td><a href="{:url('admin/Goods/goods_list_edit',array('id'=>$v['id']))}" title="{$v.goods_title}">{$v.goods_title|subtext=25}</a></td>
		<td class="hidden-sm hidden-xs">{$v.cate_name}</td>
		<td class="hidden-sm hidden-xs">
			{if condition="strstr($v['goods_flag'],'r') eq true"}<span style="color:#03C">热销</span>{/if}
			{if condition="strstr($v['goods_flag'],'t') eq true"}<span style="color:#060">推荐</span>{/if}
			{if condition="strstr($v['goods_flag'],'j') eq true"}<span style="color:#09F">精品</span>{/if}
			{if condition="strstr($v['goods_flag'],'a') eq true"}<span style="color:#63C">特价</span>{/if}
		</td>
		<td class="hidden-xs  center">
			{if condition="$v['status'] eq 1"}
				<a class="red state-btn" href="{:url('admin/goods/goods_list_state')}" data-id="{$v.id}" title="已审">
					<div><button class="btn btn-minier btn-yellow">已审</button></div>
				</a>
				{else/}
				<a class="red state-btn" href="{:url('admin/goods/goods_list_state')}" data-id="{$v.id}" title="未审">
					<div><button class="btn btn-minier btn-danger">未审</button></div>
				</a>
			{/if}
		</td>
		<td class="hidden-xs  center">{$v.add_times|date='Y-m-d',###}</td>
		<td>
			<div class="hidden-sm hidden-xs action-buttons">
				<a class="green" href="{:url('admin/Goods/goods_list_edit',array('id'=>$v['id']))}" data-toggle="tooltip" title="修改">
					<i class="ace-icon fa fa-pencil bigger-130"></i>
				</a>
				<a class="red confirm-rst-url-btn" data-info="你确定要删除到回收站吗？" href="{:url('admin/Goods/goods_list_del',array('id'=>$v['id'],'p'=>input('p',1)))}" title="回收站" data-toggle="tooltip">
					<i class="ace-icon fa fa-trash-o bigger-130"></i>
				</a>
			</div>
			<div class="hidden-md hidden-lg">
				<div class="inline position-relative">
					<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
						<i class="ace-icon fa fa-cog icon-only bigger-110"></i>
					</button>
					<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
						<li>
							<a href="{:url('admin/Goods/goods_list_edit',array('id'=>$v['id']))}" class="tooltip-success" data-rel="tooltip" title="" data-original-title="修改">
											<span class="green">
												<i class="ace-icon fa fa-pencil-square-o bigger-120"></i>
											</span>
							</a>
						</li>

						<li>
							<a href="{:url('admin/Goods/goods_list_del',array('id'=>$v['id'],'p'=>input('p',1)))}" data-info="你确定要删除到回收站吗？" class="tooltip-error confirm-rst-url-btn" data-rel="tooltip" title="回收站" data-original-title="回收站">
											<span class="red">
												<i class="ace-icon fa fa-trash-o bigger-120"></i>
											</span>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</td>
	</tr>
{/foreach}
<tr>
	<td align="left" class="hidden-xs center"><button id="btnsubmit" class="btn btn-white btn-yellow btn-sm hidden-xs">删</button> </td>
	<td colspan="2" align="left"class="hidden-lg hidden-md hidden-sm">{$page}</td>
	<td align="left" class="hidden-xs center"><button  id="btnorder" href="{:url('admin/Goods/goods_list_order')}" class="btn btn-white btn-yellow btn-sm">排序</button></td>
	<td colspan="7" align="right" class="hidden-xs">{$page}</td>
</tr>
